import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    list:[],
    list1:[]
  },
  mutations: {
    Change(state,val){
      state.list = val
    },
    Change2(state,val){
      state.list1 = val
    },
    Change3(state,i){
      state.list1.splice(i,1)
    },
  },
  actions: {
  },
  modules: {
  }
})
